<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>代码生成器</title>
</head>
<body>

<form th:action="@{/test}">

    <input name="n1" placeholder="输入1">
    <input name="n2" placeholder="输入2">
    <button type="submit">提交</button>
    <p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"></p>
</form>



</body>
</html>
